/*
 * ipassstitching.cpp
 *
 *  Created on: Mar 3, 2013
 *      Author: rdu
 */

#include "ipassstitching.h"

IpassStitching::IpassStitching()
{
	m_sImageNames[0]="image0.jpg";
	m_sImageNames[1]="image1.jpg";
	m_sImageNames[2]="image2.jpg";

}

IpassStitching::~IpassStitching()
{

}

void IpassStitching::LoadImages()
{
	Mat leftImage=imread(m_sImageNames[0]);
	Mat middleImage=imread(m_sImageNames[1]);
	Mat rightImage=imread(m_sImageNames[2]);

	//To do
	//rotate images for 90 degrees

	m_cvImages.push_back(leftImage);
	m_cvImages.push_back(middleImage);
	m_cvImages.push_back(rightImage);
}

void IpassStitching::FindMatchFeatures()
{

}

void IpassStitching::StitchImages()
{

}

Mat IpassStitching::GetStitchedImage()
{
	StitchImages();

	return m_stitchedImage;
}


